package com.android.jay.wzp_voice.application;

import android.app.Application;
import android.content.Context;
import android.util.Log;


import com.alibaba.android.arouter.launcher.ARouter;
import com.android.jay.lib_audio.app.AudioHelper;

import androidx.multidex.MultiDex;

/**
 * Created by wzp on 2020/1/14 0014.
 * <p>
 * 描述  ：todo
 */
public class jayVoiceApplication extends Application {
    private static jayVoiceApplication mApplication = null;

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mApplication = this;
        AudioHelper.init(this);
        ARouter.init(this);


    }

    public static jayVoiceApplication getInstance(){
        return mApplication;
    }
}
